<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>LibDriver ST7789: st7789 interface driver function</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="doxygen.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">LibDriver ST7789
   &#160;<span id="projectnumber">1.0.0</span>
   </div>
   <div id="projectbrief">ST7789 full-featured driver</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('group__st7789__interface__driver.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">st7789 interface driver function<div class="ingroups"><a class="el" href="group__st7789__driver.html">st7789 driver function</a></div></div>  </div>
</div><!--header-->
<div class="contents">

<p>st7789 interface driver modules  
<a href="#details">More...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga530051fc2fcfeef816e431b7af230466"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__st7789__interface__driver.html#ga530051fc2fcfeef816e431b7af230466">st7789_interface_spi_init</a> (void)</td></tr>
<tr class="memdesc:ga530051fc2fcfeef816e431b7af230466"><td class="mdescLeft">&#160;</td><td class="mdescRight">interface spi bus init  <a href="group__st7789__interface__driver.html#ga530051fc2fcfeef816e431b7af230466">More...</a><br /></td></tr>
<tr class="separator:ga530051fc2fcfeef816e431b7af230466"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaacc91570d98449e5a7b3939ce6f89e69"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__st7789__interface__driver.html#gaacc91570d98449e5a7b3939ce6f89e69">st7789_interface_spi_deinit</a> (void)</td></tr>
<tr class="memdesc:gaacc91570d98449e5a7b3939ce6f89e69"><td class="mdescLeft">&#160;</td><td class="mdescRight">interface spi bus deinit  <a href="group__st7789__interface__driver.html#gaacc91570d98449e5a7b3939ce6f89e69">More...</a><br /></td></tr>
<tr class="separator:gaacc91570d98449e5a7b3939ce6f89e69"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gadc70aa176dd1359b0432927f63a6a58f"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__st7789__interface__driver.html#gadc70aa176dd1359b0432927f63a6a58f">st7789_interface_spi_write_cmd</a> (uint8_t *buf, uint16_t len)</td></tr>
<tr class="memdesc:gadc70aa176dd1359b0432927f63a6a58f"><td class="mdescLeft">&#160;</td><td class="mdescRight">interface spi bus write  <a href="group__st7789__interface__driver.html#gadc70aa176dd1359b0432927f63a6a58f">More...</a><br /></td></tr>
<tr class="separator:gadc70aa176dd1359b0432927f63a6a58f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8343f801b954deb919008dad88a54b37"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__st7789__interface__driver.html#ga8343f801b954deb919008dad88a54b37">st7789_interface_delay_ms</a> (uint32_t ms)</td></tr>
<tr class="memdesc:ga8343f801b954deb919008dad88a54b37"><td class="mdescLeft">&#160;</td><td class="mdescRight">interface delay ms  <a href="group__st7789__interface__driver.html#ga8343f801b954deb919008dad88a54b37">More...</a><br /></td></tr>
<tr class="separator:ga8343f801b954deb919008dad88a54b37"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3e0078b7d5e3cc56dc15f2b6bd6165a1"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__st7789__interface__driver.html#ga3e0078b7d5e3cc56dc15f2b6bd6165a1">st7789_interface_debug_print</a> (const char *const fmt,...)</td></tr>
<tr class="memdesc:ga3e0078b7d5e3cc56dc15f2b6bd6165a1"><td class="mdescLeft">&#160;</td><td class="mdescRight">interface print format data  <a href="group__st7789__interface__driver.html#ga3e0078b7d5e3cc56dc15f2b6bd6165a1">More...</a><br /></td></tr>
<tr class="separator:ga3e0078b7d5e3cc56dc15f2b6bd6165a1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga31b17a61eacced580a44895ae4d3f403"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__st7789__interface__driver.html#ga31b17a61eacced580a44895ae4d3f403">st7789_interface_cmd_data_gpio_init</a> (void)</td></tr>
<tr class="memdesc:ga31b17a61eacced580a44895ae4d3f403"><td class="mdescLeft">&#160;</td><td class="mdescRight">interface command &amp;&amp; data gpio init  <a href="group__st7789__interface__driver.html#ga31b17a61eacced580a44895ae4d3f403">More...</a><br /></td></tr>
<tr class="separator:ga31b17a61eacced580a44895ae4d3f403"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaedef77854ee3eabf9906b36862e907df"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__st7789__interface__driver.html#gaedef77854ee3eabf9906b36862e907df">st7789_interface_cmd_data_gpio_deinit</a> (void)</td></tr>
<tr class="memdesc:gaedef77854ee3eabf9906b36862e907df"><td class="mdescLeft">&#160;</td><td class="mdescRight">interface command &amp;&amp; data gpio deinit  <a href="group__st7789__interface__driver.html#gaedef77854ee3eabf9906b36862e907df">More...</a><br /></td></tr>
<tr class="separator:gaedef77854ee3eabf9906b36862e907df"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga46a322445592dc637aa970098a710fa0"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__st7789__interface__driver.html#ga46a322445592dc637aa970098a710fa0">st7789_interface_cmd_data_gpio_write</a> (uint8_t value)</td></tr>
<tr class="memdesc:ga46a322445592dc637aa970098a710fa0"><td class="mdescLeft">&#160;</td><td class="mdescRight">interface command &amp;&amp; data gpio write  <a href="group__st7789__interface__driver.html#ga46a322445592dc637aa970098a710fa0">More...</a><br /></td></tr>
<tr class="separator:ga46a322445592dc637aa970098a710fa0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6089c64c644e09f74cd4799bd0a98ecc"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__st7789__interface__driver.html#ga6089c64c644e09f74cd4799bd0a98ecc">st7789_interface_reset_gpio_init</a> (void)</td></tr>
<tr class="memdesc:ga6089c64c644e09f74cd4799bd0a98ecc"><td class="mdescLeft">&#160;</td><td class="mdescRight">interface reset gpio init  <a href="group__st7789__interface__driver.html#ga6089c64c644e09f74cd4799bd0a98ecc">More...</a><br /></td></tr>
<tr class="separator:ga6089c64c644e09f74cd4799bd0a98ecc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga43c541520a46d67ad211ec9f21cee118"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__st7789__interface__driver.html#ga43c541520a46d67ad211ec9f21cee118">st7789_interface_reset_gpio_deinit</a> (void)</td></tr>
<tr class="memdesc:ga43c541520a46d67ad211ec9f21cee118"><td class="mdescLeft">&#160;</td><td class="mdescRight">interface reset gpio deinit  <a href="group__st7789__interface__driver.html#ga43c541520a46d67ad211ec9f21cee118">More...</a><br /></td></tr>
<tr class="separator:ga43c541520a46d67ad211ec9f21cee118"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab084f76d6f72dc7ae8427adcba4f5493"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__st7789__interface__driver.html#gab084f76d6f72dc7ae8427adcba4f5493">st7789_interface_reset_gpio_write</a> (uint8_t value)</td></tr>
<tr class="memdesc:gab084f76d6f72dc7ae8427adcba4f5493"><td class="mdescLeft">&#160;</td><td class="mdescRight">interface reset gpio write  <a href="group__st7789__interface__driver.html#gab084f76d6f72dc7ae8427adcba4f5493">More...</a><br /></td></tr>
<tr class="separator:gab084f76d6f72dc7ae8427adcba4f5493"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<p>st7789 interface driver modules </p>
<h2 class="groupheader">Function Documentation</h2>
<a id="gaedef77854ee3eabf9906b36862e907df"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaedef77854ee3eabf9906b36862e907df">&#9670;&nbsp;</a></span>st7789_interface_cmd_data_gpio_deinit()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t st7789_interface_cmd_data_gpio_deinit </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>interface command &amp;&amp; data gpio deinit </p>
<dl class="section return"><dt>Returns</dt><dd>status code<ul>
<li>0 success</li>
<li>1 gpio deinit failed </li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>none </dd></dl>

<p class="definition">Definition at line <a class="el" href="driver__st7789__interface__template_8c_source.html#l00116">116</a> of file <a class="el" href="driver__st7789__interface__template_8c_source.html">driver_st7789_interface_template.c</a>.</p>

</div>
</div>
<a id="ga31b17a61eacced580a44895ae4d3f403"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga31b17a61eacced580a44895ae4d3f403">&#9670;&nbsp;</a></span>st7789_interface_cmd_data_gpio_init()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t st7789_interface_cmd_data_gpio_init </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>interface command &amp;&amp; data gpio init </p>
<dl class="section return"><dt>Returns</dt><dd>status code<ul>
<li>0 success</li>
<li>1 gpio init failed </li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>none </dd></dl>

<p class="definition">Definition at line <a class="el" href="driver__st7789__interface__template_8c_source.html#l00104">104</a> of file <a class="el" href="driver__st7789__interface__template_8c_source.html">driver_st7789_interface_template.c</a>.</p>

</div>
</div>
<a id="ga46a322445592dc637aa970098a710fa0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga46a322445592dc637aa970098a710fa0">&#9670;&nbsp;</a></span>st7789_interface_cmd_data_gpio_write()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t st7789_interface_cmd_data_gpio_write </td>
          <td>(</td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>value</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>interface command &amp;&amp; data gpio write </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">value</td><td>written value </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>status code<ul>
<li>0 success</li>
<li>1 gpio write failed </li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>none </dd></dl>

<p class="definition">Definition at line <a class="el" href="driver__st7789__interface__template_8c_source.html#l00129">129</a> of file <a class="el" href="driver__st7789__interface__template_8c_source.html">driver_st7789_interface_template.c</a>.</p>

</div>
</div>
<a id="ga3e0078b7d5e3cc56dc15f2b6bd6165a1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga3e0078b7d5e3cc56dc15f2b6bd6165a1">&#9670;&nbsp;</a></span>st7789_interface_debug_print()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void st7789_interface_debug_print </td>
          <td>(</td>
          <td class="paramtype">const char *const&#160;</td>
          <td class="paramname"><em>fmt</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>...</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>interface print format data </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">fmt</td><td>format data </td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>none </dd></dl>

<p class="definition">Definition at line <a class="el" href="driver__st7789__interface__template_8c_source.html#l00092">92</a> of file <a class="el" href="driver__st7789__interface__template_8c_source.html">driver_st7789_interface_template.c</a>.</p>

</div>
</div>
<a id="ga8343f801b954deb919008dad88a54b37"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga8343f801b954deb919008dad88a54b37">&#9670;&nbsp;</a></span>st7789_interface_delay_ms()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void st7789_interface_delay_ms </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>ms</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>interface delay ms </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">ms</td><td>time </td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>none </dd></dl>

<p class="definition">Definition at line <a class="el" href="driver__st7789__interface__template_8c_source.html#l00082">82</a> of file <a class="el" href="driver__st7789__interface__template_8c_source.html">driver_st7789_interface_template.c</a>.</p>

</div>
</div>
<a id="ga43c541520a46d67ad211ec9f21cee118"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga43c541520a46d67ad211ec9f21cee118">&#9670;&nbsp;</a></span>st7789_interface_reset_gpio_deinit()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t st7789_interface_reset_gpio_deinit </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>interface reset gpio deinit </p>
<dl class="section return"><dt>Returns</dt><dd>status code<ul>
<li>0 success</li>
<li>1 gpio deinit failed </li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>none </dd></dl>

<p class="definition">Definition at line <a class="el" href="driver__st7789__interface__template_8c_source.html#l00153">153</a> of file <a class="el" href="driver__st7789__interface__template_8c_source.html">driver_st7789_interface_template.c</a>.</p>

</div>
</div>
<a id="ga6089c64c644e09f74cd4799bd0a98ecc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga6089c64c644e09f74cd4799bd0a98ecc">&#9670;&nbsp;</a></span>st7789_interface_reset_gpio_init()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t st7789_interface_reset_gpio_init </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>interface reset gpio init </p>
<dl class="section return"><dt>Returns</dt><dd>status code<ul>
<li>0 success</li>
<li>1 gpio init failed </li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>none </dd></dl>

<p class="definition">Definition at line <a class="el" href="driver__st7789__interface__template_8c_source.html#l00141">141</a> of file <a class="el" href="driver__st7789__interface__template_8c_source.html">driver_st7789_interface_template.c</a>.</p>

</div>
</div>
<a id="gab084f76d6f72dc7ae8427adcba4f5493"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gab084f76d6f72dc7ae8427adcba4f5493">&#9670;&nbsp;</a></span>st7789_interface_reset_gpio_write()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t st7789_interface_reset_gpio_write </td>
          <td>(</td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>value</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>interface reset gpio write </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">value</td><td>written value </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>status code<ul>
<li>0 success</li>
<li>1 gpio write failed </li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>none </dd></dl>

<p class="definition">Definition at line <a class="el" href="driver__st7789__interface__template_8c_source.html#l00166">166</a> of file <a class="el" href="driver__st7789__interface__template_8c_source.html">driver_st7789_interface_template.c</a>.</p>

</div>
</div>
<a id="gaacc91570d98449e5a7b3939ce6f89e69"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaacc91570d98449e5a7b3939ce6f89e69">&#9670;&nbsp;</a></span>st7789_interface_spi_deinit()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t st7789_interface_spi_deinit </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>interface spi bus deinit </p>
<dl class="section return"><dt>Returns</dt><dd>status code<ul>
<li>0 success</li>
<li>1 spi deinit failed </li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>none </dd></dl>

<p class="definition">Definition at line <a class="el" href="driver__st7789__interface__template_8c_source.html#l00058">58</a> of file <a class="el" href="driver__st7789__interface__template_8c_source.html">driver_st7789_interface_template.c</a>.</p>

</div>
</div>
<a id="ga530051fc2fcfeef816e431b7af230466"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga530051fc2fcfeef816e431b7af230466">&#9670;&nbsp;</a></span>st7789_interface_spi_init()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t st7789_interface_spi_init </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>interface spi bus init </p>
<dl class="section return"><dt>Returns</dt><dd>status code<ul>
<li>0 success</li>
<li>1 spi init failed </li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>none </dd></dl>

<p class="definition">Definition at line <a class="el" href="driver__st7789__interface__template_8c_source.html#l00046">46</a> of file <a class="el" href="driver__st7789__interface__template_8c_source.html">driver_st7789_interface_template.c</a>.</p>

</div>
</div>
<a id="gadc70aa176dd1359b0432927f63a6a58f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gadc70aa176dd1359b0432927f63a6a58f">&#9670;&nbsp;</a></span>st7789_interface_spi_write_cmd()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t st7789_interface_spi_write_cmd </td>
          <td>(</td>
          <td class="paramtype">uint8_t *&#160;</td>
          <td class="paramname"><em>buf</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>len</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>interface spi bus write </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">*buf</td><td>pointer to a data buffer </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">len</td><td>length of data buffer </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>status code<ul>
<li>0 success</li>
<li>1 write failed </li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>none </dd></dl>

<p class="definition">Definition at line <a class="el" href="driver__st7789__interface__template_8c_source.html#l00072">72</a> of file <a class="el" href="driver__st7789__interface__template_8c_source.html">driver_st7789_interface_template.c</a>.</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
  </ul>
</div>
</body>
</html>
